
#include "Event.h"

namespace p2 {

Event::~Event()
{
}

Delegate::~Delegate()
{
}

EventDispatcher::~EventDispatcher()
{
	DelegateHash::iterator iter = _delegates.begin();
	while(iter != _delegates.end())
	{
		delete iter->second;
		++iter;
	}
	_delegates.clear();
}

}
